package org.kamionowski.supreme.services.crawler.exc;

import org.kamionowski.supreme.persistence.entity.Service;

/**
 * Created by IntelliJ IDEA.
 * User: Marcin Kamionowski
 * Date: 07.04.11
 * Time: 00:19
 */
public class CrawlerException extends Exception {

    private Service service;

    public CrawlerException(String message, Service service) {
        super(message);
        this.service = service;
    }

    public CrawlerException(String message, Throwable cause, Service service) {
        super(message, cause);
        this.service = service;
    }

    public CrawlerException(Throwable cause, Service service) {
        super(cause);
        this.service = service;
    }
}
